package com.biu.billiards.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.biu.billiards.model.bo.AdminBO;
import com.biu.billiards.model.bo.BilliardsBO;
import com.biu.billiards.model.entity.Billiards;
import com.baomidou.mybatisplus.extension.service.IService;
import com.biu.billiards.model.vo.admin.AddAdminVo;
import com.biu.billiards.model.vo.admin.GetAdminVo;
import com.biu.billiards.model.vo.admin.UpdateAdminVO;
import com.biu.billiards.model.vo.billiards.AddBilliardsVo;
import com.biu.billiards.model.vo.billiards.GetBilliardsVo;
import com.biu.billiards.model.vo.billiards.UpdateBilliardsVO;
import com.biu.billiards.model.vo.mqtt.OpenBilliardsVo;
import com.biu.billiards.model.vo.mqtt.OpenDeviceVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xue
 * @since 2023-09-25
 */
public interface IBilliardsService extends IService<Billiards> {


    Boolean getBilliardsStatus(Integer id);


    Boolean getBilliardsStatusClose(Integer shopId,String[] id);
    Boolean getBilliardsStatusOpen(Integer shopId,String[] id);

    Boolean getBilliardsOpenStatus(Integer id);

    Boolean openDevice(OpenDeviceVo openDeviceVo);

    Boolean openBilliards(OpenBilliardsVo openBilliardsVo);



    Boolean openBilliardsList(List<OpenBilliardsVo> openBilliardsVoLis);


    List<BilliardsBO> getBilliardsList(GetBilliardsVo getBilliardsVo);



    IPage<BilliardsBO> getBilliardsPage(GetBilliardsVo getBilliardsVo);

    Boolean updateBilliards(UpdateBilliardsVO updateBilliardsVO);

    Boolean addBilliards(AddBilliardsVo addBilliardsVo);

    Boolean deleteBilliards(Integer billiardsId);


}
